home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.2 Development Libraries / SGI IRIX 6.2 Development Libraries.iso / dist / gl_dev.idb / usr / include / GL / glrproto.h.z / glrproto.h
Encoding:
C/C++ Source or Header  |  1996-03-15  |  2.2 KB  |  55 lines

  1. #ifndef __glrproto_h__
  2. #define __glrproto_h__
  3.  
  4. /* Copyright 1995, Silicon Graphics, Inc. All Rights Reserved.
  5.  
  6.    This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.; the 
  7.    contents of this file may not be disclosed to third parties, copied or
  8.    duplicated in any form, in whole or in part, without the prior written
  9.    permission of Silicon Graphics, Inc.
  10.  
  11.    RESTRICTED RIGHTS LEGEND: Use, duplication or disclosure by the Government 
  12.    is subject to restrictions as set forth in subdivision (c)(1)(ii) of the
  13.    Rights in Technical Data and Computer Software clause at DFARS
  14.    252.227-7013, and/or in similar or successor clauses in the FAR, DOD or
  15.    NASA FAR Supplement. Unpublished - rights reserved under the Copyright
  16.    Laws of the United States. */
  17.  
  18. /* Mark J. Kilgard */
  19.  
  20. /* Revision history for GLR protocol:
  21.  
  22.    1.1   June 5, 1995 
  23.  
  24.    The GLR session property describes global GLR session parameters. The
  25.    property is placed by glrmanager on the root window of screen 0 at
  26.    generation startup.  The property is named GLR_SESSION and is of type
  27.    GLR_SESSION.  The GLR session property is fixed for the duration of the
  28.    GLR server's generation.
  29.  
  30.    The GLR canvas property describing GLR per-canvas parameters.  The
  31.    property is placed on each GLR canvas before the canvas is mapped.
  32.    glrmanager will track changes to the GLR canvas property over the
  33.    life-time of the window.  End of revisions. */
  34.  
  35. #define GLR_SESSION "GLR_SESSION"
  36.  
  37. typedef struct _GLrSessionInfo {
  38.   long version;         /* version of GLR protocol, currently 1 */
  39.   long revision;        /* revision of GLR protocol, currently 1 */
  40.   long maxTimeout;      /* maximum guaranteed for rendering interval */
  41. } GLrSessionInfo;
  42.  
  43. #define GLR_CANVAS "GLR_CANVAS"
  44.  
  45. typedef struct _GLrCanvasInfo {
  46.   long version;         /* version of GLR protocol, currently 1 */
  47.   long revision;        /* revision of GLR protocol, currently 1 */
  48.   long width;           /* width of canvas in pixels */
  49.   long height;          /* height of canvas in pixels */
  50.   long timeout;         /* requested guaranteed milliseconds for rendering
  51.                            interval */
  52. } GLrCanvasInfo;
  53.  
  54. #endif /* __glrproto_h__ */
  55.